<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>SysOrgAdd</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../static/lib/layuiadmin/style/admin.css" media="all">
    <style>
        html, body {
            /*height:600px;*/
        }
        .custom-label-width {
            width:130px;
        }
        .layui-form-item {
            margin-bottom: 5px;
            clear: both;
        }


        .custom-input-width {
            width:200px;
            text-align: left;
        }

        .layui-input-block {
            margin-left: 10px;
            min-height: 36px;
            width:75%;
            float:left;
        }
    </style>
</head>
<body>
    <form class="layui-form " action="" lay-filter="component-form-group">
        <div class="layui-form-item">
            <label class="layui-form-label custom-label-width">机构分类：</label>
            <div class="layui-input-block">
                <label class="layui-form-label custom-input-width" id="cateName"></label>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label custom-label-width">机构类型：</label>
            <div class="layui-input-block">
                <label class="layui-form-label custom-input-width" id="orgType"></label>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label custom-label-width">上级：</label>
            <div class="layui-input-block">
                <label class="layui-form-label custom-input-width"  id="parentName"></label>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label custom-label-width"><span style="color: #FF0000;">*</span>名称：</label>
            <div class="layui-input-block ">
                <input name='orgName' maxlength="100" id="orgName"
                       lay-verify="orgName" autocomplete="off" class="layui-input ">
            </div>
        </div>

        <div class="layui-form-item" id="addr">
            <label class="layui-form-label custom-label-width">详细地址：</label>
            <div class="layui-input-block">
                <input type="text" name="orgAdd" maxlength="200" id="orgAdd" autocomplete="off"
                       class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" id="defaultPost">
            <label class="layui-form-label custom-label-width"><span style="color: #FF0000;">*</span>默认岗位名称：</label>
            <div class="layui-input-block">
                <input type="text" name="postName" maxlength="200" id="postName" lay-verify="postName" autocomplete="off"
                       class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" id="creditCode">
            <label class="layui-form-label custom-label-width">统一社会信用代码：</label>
            <div class="layui-input-block">
                <input type="text" name="orgCreditCode" maxlength="18" id="orgCreditCode"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" id="openState">
            <label class="layui-form-label custom-label-width">公开状态：</label>
            <div class="layui-input-block">
                <input type="radio" name="open" value="1" title="公开" checked>
                <input type="radio" name="open" value="2" title="半公开">
                <input type="radio" name="open" value="3" title="不公开">
            </div>
        </div>

        <div class="layui-form-item" >
            <label class="layui-form-label custom-label-width">机构简介：</label>
            <div class="layui-input-block">
                <textarea name="orgRemark" maxlength="200" id="orgRemark" placeholder="请输入机构简介"
                          class="layui-textarea"></textarea>
            </div>
        </div>

        <div class="layui-form-item layui-layout-admin" style="margin-top:20px; margin-right: 60px; text-align: right">
                <button class="layui-btn" lay-submit="" lay-filter="checkData">提交</button>
        </div>
    </form>
</body>
</html>
<script type="text/javascript" src="../../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../../static/lib/layuiadmin/layui/layui.js"></script>
<script type="text/javascript" src="../../common/common.js"></script>
<script type="text/javascript" src="../../common/dataGrid.js"></script>
<script type="text/javascript" src="sysOrgEdit.js"></script>
